package com.base.mapper.voipmapper;

import com.base.po.voip.NewsAllocation;
import com.base.po.voip.NewsAllocationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface NewsAllocationMapper {
    int countByExample(NewsAllocationExample example);

    int deleteByExample(NewsAllocationExample example);
    
    int deleteByPrimaryKey(String id);

    int insert(NewsAllocation record);

    int insertSelective(NewsAllocation record);

    List<NewsAllocation> selectByExample(NewsAllocationExample example);
    
    NewsAllocation selectByParentid(String parentid);
    
    NewsAllocation selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") NewsAllocation record, @Param("example") NewsAllocationExample example);

    int updateByExample(@Param("record") NewsAllocation record, @Param("example") NewsAllocationExample example);
    
    int updateByPrimaryKeySelective(NewsAllocation record);
    
    int updateByPrimaryKey(NewsAllocation record);
}